package com.sino.operation.service.business;

import com.sino.operation.param.ChargeSubTradeParam;
import com.sino.operation.service.business.inter.SubTradeService;
import com.sino.operation.util.RestTemplateUtils;
import com.sino.operation.util.UrlUtil;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 子交易实现类
 *
 * @author Administrator
 * date 2021/10/24 0024 20:25
 */
@Service
public class SubTradeServiceImpl implements SubTradeService {

    @Autowired
    private UrlUtil urlUtil;

    @Autowired
    private RestTemplateUtils restTemplateUtils;
    /**
     *
     * @description {短信通}
     * @param chargeSubTradeParam
     * @return void
     * @author 北陈
     * @date 2021/10/24 0024 20:27
     **/
    @Override
    public void smsCommunicate(ChargeSubTradeParam chargeSubTradeParam) {
        String smsMark = chargeSubTradeParam.getSmsMark();
        if (StringUtils.isNotBlank(smsMark)&&StringUtils.isNotEmpty(smsMark)){

        }
    }

    /**
     *
     * @description {自助回单}
     * @param chargeSubTradeParam
     * @return void
     * @author 北陈
     * @date 2021/10/24 0024 20:27
     **/
    @Override
    public void selfList(ChargeSubTradeParam chargeSubTradeParam) {
        String selfList = chargeSubTradeParam.getSelfList();
        if (StringUtils.isNotBlank(selfList)&&StringUtils.isNotEmpty(selfList)){

        }
    }

    /**
     *
     * @description {预鉴片销号}
     * @param chargeSubTradeParam
     * @return void
     * @author 北陈
     * @date 2021/10/24 0024 20:27
     **/
    @Override
    public void preSample(ChargeSubTradeParam chargeSubTradeParam) {
        String preSample = chargeSubTradeParam.getPreSample();
        if (StringUtils.isNotBlank(preSample)&&StringUtils.isNotEmpty(preSample)){

        }
    }
}
